<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
<link rel="stylesheet" href="<?php echo $_BASE_DIR ?>baodan/css/common.css" >

<script type="text/javascript" src="<?php echo $_BASE_DIR ?>baodan/js/jquery-3.1.1.min.js"></script>
<title>我的激活码</title>
<style>
	body{ background: #eee;}
	.list-item{ height: 44px; line-height: 44px; background: #fff; padding: 0 15px; box-sizing: border-box;margin-bottom: 2px;}
	.list-item p{float: left; color: #666; line-height: 44px;}
	.list-item p:last-child{ color: #333; margin-left: 10px;}
	.submitxx{
		width: 84%;
        margin: 30px auto 0;
		height: 42px;
		background-color: #4f8ad9;
		border-radius: 2px;
		line-height: 42px;
		color: #fff;
		font-size: 16px;
		text-align: center;
	}
</style>
</head>

<body>
<header class="header">
    <a class="back" href="javascript:history.back(-1)"></a>
	<div class="title">激活码</div>
</header>
<div style="height:45px;"></div>


<div class="list-item clearfix">
	<p>我的激活码：</p><p><?php echo $user->active_code?></p>
</div>


<script type="text/javascript">
function activecode(){
	
	var ajaxurl = "/my/activecode";
	$.post(ajaxurl, {
		uid:1
	}, function(data){
		if(data.status == 0){
			alert(data.msg);
			return false;	
		}else{
			alert(data.msg);
			return false;	
		}
	}, 'json');
	
}
</script> 
</body>
</html>
